public class DemoLeer1
{	
	public static void main (String parametros[]) throws Exception
	{
	  //String c = "";
	   System.out.println ("Deme una letra");
	   //try
	   //{
	      char c = (char)System.in.read();
	      //int i = new Integer(c).intValue();
	      if (c == '1') {
	      	System.out.println("Tipeaste uno");
	      }
	      else {
	      	System.out.println("No Tipeaste uno");
	      }
       //}
       //catch (Exception e )
       //{
       	  //System.out.println ("Error Leyendo");
       //}
	          
       System.out.println("c vale "+c);          
	}	
}